<?php
namespace app\mobile\model;

/**
 * Class MemberShoppingCart
 * @package app\mobile\model     用户购物车
 */
class MemberShoppingCart extends BaseModel
{
    /*
     * 购物车和商品多对一
     */
    public function shopGoods()
    {
        return $this->belongsTo('ShopGoods','goods_id','id');
    }

    public function shopGoods1()
    {
        return $this->belongsTo('ShopGoods','goods_id','id');
    }
}